package com.taoli.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
* @author: 韦武朝
* @date: 2023/2/16 15:58
* 用户余额实体
 */
@Entity
@Data
@JsonIgnoreProperties(value={"hibernateLazyInitializer","handler","fieldHandler"})
public class Wallet {
    @Id
    private Long userId;

    @Column
    private Double balance;
}
